package com.tao.orders.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tao.messagesdk.model.po.MqMessage;
import com.tao.orders.model.dto.AddOrderDto;
import com.tao.orders.model.dto.PayRecordDto;
import com.tao.orders.model.dto.PayStatusDto;
import com.tao.orders.model.po.Orders;
import com.tao.orders.model.po.PayRecord;

public interface OrderService extends IService<Orders> {
     PayRecord createOrder(String userId, AddOrderDto addOrderDto);

     String getBizContent(String payNo);
     PayRecordDto queryPayResult(String payNo);


    void saveAliPayStatus(PayStatusDto payStatusDto);

    void notifyPayResult(MqMessage message);

}
